package com.rms.domain;

public class Worker {

	private Integer id;

	private String name;

	private String password;

	private String phone;

	private String email;

	private Integer workState;

	private Integer roleId;

	private Resume resume;

	public Resume getResume() {
		return resume;
	}

	public void setResume(Resume resume) {
		this.resume = resume;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getWorkState() {
		return workState;
	}

	public void setWorkState(Integer workState) {
		this.workState = workState;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Worker(String name, String password, String phone, String email, Integer workState, Integer roleId) {
		this.name = name;
		this.password = password;
		this.phone = phone;
		this.email = email;
		this.workState = workState;
		this.roleId = roleId;
	}

	public Worker() {
	}

	@Override
	public String toString() {
		return "Worker [id=" + id + ", name=" + name + ", password=" + password + ", phone=" + phone + ", email="
				+ email + ", workState=" + workState + ", roleId=" + roleId + "]";
	}

}